package com.roamer.javase.demo.message.vo;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author roamer
 * @version v1.0
 * @date 2020/3/17 22:50
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class MessageForDayVO extends MessageBaseVO {

    private static final long serialVersionUID = -6249245644707343820L;

    private Integer count;

    public void addCount(){
        if (null == count){
            count = 1;
        }
        count++;
    }
}
